package com.zmn.oms.persistence.interfaces.statement;

import com.zmn.oms.model.entity.statement.OrderStatement;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 类描述：工单结算dao
 * @author lujia
 * @date 2019/8/14 17:40
 */
public interface OrderStatementDao {

    OrderStatement findByKey(@Param("orderId") Long orderId, @Param("workId") Long workId);

    List<OrderStatement> listOrderStatementByOrderIdList(@Param("orderIdList") List<Long> orderIdList);

    int insert(OrderStatement record);

    int updateByKey(OrderStatement record);
}